package com.zfei.gfb.util.gson;

import java.lang.annotation.*;

/**
 * An annotation that indicates this member should be serialized to JSON with
 * the provided name value as its field name.
 *
 * @author fgh
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface GsonProperty {

    /**
     * the desired name of the field when it is serialized or deserialized
     */
    String value();
}
